package com.providera.serviceimpl;

import cn.hutool.core.util.StrUtil;
import com.providera.service.UserService;
import org.springframework.stereotype.Service;

import java.util.concurrent.atomic.AtomicInteger;

@Service
public class UserServiceImpl implements UserService {

    private static final AtomicInteger count = new AtomicInteger(0);

    @Override
    public String getInfo() {
        return StrUtil.format("这是第{}次,获取user信息,userName:{}",count.getAndIncrement(),"季潇熠");
    }
}
